package com.woniuxy.commons.service;

import com.woniuxy.commons.entity.Prescription;
import com.woniuxy.commons.utils.ResponseResult;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Waves
 * @date 2022/6/16 9:40
 */
@FeignClient(name = "prescription")
public interface PrescriptionService {
    @GetMapping("/prescription/findById/{id}")
     ResponseResult<Prescription> findById(@PathVariable(value = "id") int id);
    @GetMapping("/prescription/findMedicineIdsByPid/{id}")
     ResponseResult findMedicineIdsByPid( @PathVariable(value = "id") int id);
}
